package com.sbtr.open.publishtask.dto;

import java.io.Serializable;
import java.util.Date;

public class PlatformPredictTaskDto implements Serializable {
	private static final long serialVersionUID = 1L;

	public static final String PREDICT_NOT_START = "notStart";
	public static final String PREDICT_RUNNING = "running";
	public static final String PREDICT_COMPLETE = "complete";
	public static final String PREDICT_ERROR = "error";
	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 任务名称
	 */
	private String taskName;


	public String getLanguageType() {
		return languageType;
	}

	public void setLanguageType(String languageType) {
		this.languageType = languageType;
	}

	//语言类型
	private String languageType;

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	/**
	 * 任务类型
	 */
	private String taskType;

	/**
	 * 算法名称
	 */
	private String modelName;

	/**
	 * 任务状态
	 */
	private String status;

	/**
	 * 创建者
	 */
	private String creater;

	/**
	 * 创建时间
	 */
	private Date createTime;


	/**
	 * 完成时间
	 */
	private Date endTime;

	/**
	 * 预测文件
	 */
	private String predictFile;

	/**
	 * 结果文件
	 */
	private String resultFile;

	/**
	 * 错误信息
	 */
	private String error;

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}



	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getPredictFile() {
		return predictFile;
	}

	public void setPredictFile(String predictFile) {
		this.predictFile = predictFile;
	}

	public String getResultFile() {
		return resultFile;
	}

	public void setResultFile(String resultFile) {
		this.resultFile = resultFile;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

}
